package hczc.longcai.com.hccrowdfunding.beans;

import java.io.Serializable;

/**
 * 存储当前登陆用户信息的实体类
 * Created by Administrator on 2016/2/26.
 */
public class UserInfo implements Serializable {

    /**
     * 用户的uid
     */
    private String id;
    /**
     * 用户名
     */
    private String name;
    /**
     * 用户的email
     */
    private String email;
    /**
     * 用户的手机号码
     */
    private String phone;
    /**
     * 用户的性别
     */
    private String sex;
    /**
     * 用户的真实姓名
     */
    private String realName;
    /**
     * 用户的身份证号
     */
    private String IDCard;
    /**
     * 冻结金额
     */
    private String freeze;
    /**
     * 募集的钱数
     */
    private String collect;
    /**
     * 账户余额
     */
    private String accountMoney;
    /**
     * 用户头像
     */
    private String head;

    public UserInfo(String id, String name, String email, String phone, String sex, String realName, String IDCard, String freeze, String collect, String accountMoney, String head) {
        this.id = id;
        this.name = name;
        this.email = email;
        this.phone = phone;
        this.sex = sex;
        this.realName = realName;
        this.IDCard = IDCard;
        this.freeze = freeze;
        this.collect = collect;
        this.accountMoney = accountMoney;
        this.head = head;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIDCard() {
        return IDCard;
    }

    public void setIDCard(String IDCard) {
        this.IDCard = IDCard;
    }

    public String getFreeze() {
        return freeze;
    }

    public void setFreeze(String freeze) {
        this.freeze = freeze;
    }

    public String getCollect() {
        return collect;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }

    public String getAccountMoney() {
        return accountMoney;
    }

    public void setAccountMoney(String accountMoney) {
        this.accountMoney = accountMoney;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    @Override
    public String toString() {
        return "用户uid：" + id + "用户名：" + name;
    }
}
